﻿using Microsoft.Phone.Tasks;

namespace Wp7Tools.Services.Tasks {
	public class EmailTask : IEmailTask {
		public static EmailTask Default { get; set; }

		static EmailTask() {
			Default = new EmailTask();
		}

		public void Send(Email email) {
			new EmailComposeTask {
				Subject = email.Subject,
				Body = email.Body,
				To = email.To,
				Cc = email.Cc,
				Bcc = email.Bcc
			}.Show();
		}
	}
}